package cn.zjk.springframework.beans.factory.config;

import cn.zjk.springframework.beans.factory.HierarchicalBeanFactory;

/**
 * @author zjk
 * @CreateTime 2023/3/24 15:23
 */
public interface ConfigurableBeanFactory extends HierarchicalBeanFactory,SingletonBeanRegistry{
    String SCOPE_SINGLETON = "singleton";

    String SCOPE_PROTOTYPE = "prototype";

    void addBeanPostProcessor(BeanPostProcessor beanPostProcessor);

    /**
     * 销毁单例对象
     */
    void destroySingletons();
}
